﻿package com.gamemeal.graphics {
	import flash.display.BitmapData;
	import flash.geom.Rectangle;
	/**
	 * @author Colin
	 */
	public class CheckboxMap extends BitmapData{
		public function CheckboxMap(width : int=10, height : int=10, transparent : Boolean = false, fillColor : uint = 0xFFCCCCCC) {
			super(width, height, transparent, 0xFFFFFFFF);
			var halfWidth:int = width/2;
			var halfHeight:int = height/2;

			this.fillRect(new Rectangle(0,0,halfWidth,halfHeight), fillColor);
			this.fillRect(new Rectangle(halfWidth,halfHeight,halfWidth,halfHeight), fillColor);
		}
	}
}
